Smush\Core\Configs C

Total Complexity 125
Dependencies 7
Dependents 4
Total lines 775
Lines of code 472
Logical lines of code 233
Comment lines 189
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
apply_config()
B
40 20 56
format_config_to_display()
A
43 13 49
decode_and_validate_config_file()
A
46 13 35
get_next_gen_settings_display_value()
A
51 13 24
sanitize_config()
A
40 9 70
get_config_from_current()
A
46 9 40
get_lazy_load_settings_to_display()
A
46 9 38
sanitize_configs_list()
A
51 9 26
get_settings_display_value()
S
50 7 28
apply_config_by_id()
S
59 4 14
format_boolean_setting_value()
S
68 4 6
get_basic_config()
S
47 1 40
get_networkwide_settings_to_display()
S
68 3 6
get_callback()
S
67 2 8
save_uploaded_config()
S
69 2 7
permission_callback()
S
75 2 4
post_callback()
S
64 2 9
__construct()
S
80 1 3
format_config_description()
S
79 1 3
sanitize_and_format_configs()
S
71 1 6